Other Enums
The following enums are available globally.
-
A
See moreRouteShapeFormatindicates the format of a route’s shape in the raw HTTP response.Declaration
Swift
public enum RouteShapeFormat: UInt, CustomStringConvertible -
A
See moreRouteShapeResolutionindicates the level of detail in a route’s shape, or whether the shape is present at all.Declaration
Swift
public enum RouteShapeResolution: UInt, CustomStringConvertible
-
A
See moreRouteShapeFormatindicates the format of a route’s shape in the raw HTTP response.Declaration
Swift
public enum InstructionFormat: UInt, CustomStringConvertible
-
A
See moreTransportTypespecifies the mode of transportation used for part of a route.Declaration
Swift
public enum TransportType: Int, CustomStringConvertible -
A
ManeuverTypespecifies the type of maneuver required to complete the route step. You can pair a maneuver type with aManeuverDirectionto choose an appropriate visual or voice prompt to present the user.In Swift, you can use pattern matching with a single switch statement on a tuple containing the maneuver type and maneuver direction to avoid a complex series of if-else-if statements or switch statements.
See moreDeclaration
Swift
public enum ManeuverType: Int, CustomStringConvertible -
A
See moreManeuverDirectionclarifies aManeuverTypewith directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see theManeuverTypedocumentation for details.Declaration
Swift
public enum ManeuverDirection: Int, CustomStringConvertible
Install in Dash
Other Enums Reference